<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>[%$ESPCMS_SOFT_TITLE%]</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_public.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_all.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_framework.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_select.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/pageload.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.cookie.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/md5.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/json.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/bootstrap.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/lngpack_cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_form.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_function.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tool.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_page.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_batch.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tab.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/nprogress.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/iframeResizer.contentWindow.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_multiple.js"></script>
		<script type="text/javascript">
			$(document).ready(function () {
				banpageKey();
				$("[placeholder]").tooltip();
				$('input[type=checkbox],input[type=radio]').espcms_checkbox();
				$("#espcms_saveInfo").espcms_formvalidation();
				$('#espcms_saveInfo').ajaxForm({
					type: 'POST',
					url: '[%$link.argsave%]',
					dataType: 'json',
					beforeSubmit: function () {
						parent.espcms_are_loading();
					},
					success: function (data) {
						parent.$("#espcms_are_loading").dialog("close");
						parent.$("body").append(data.data);
						if (data.code === 'true') {
							parent.$.espcms_sticky(data.message, {'autoclose': 3000});
							parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
						} else {
							var botton = [
								{
									text: "[%pack:botton_pack-espcms_botton_colse%]",
									class: "btn btn-lightgray",
									click: function () {
										parent.$(this).dialog("close");
										parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
									}
								}
							];
							parent.espcms_public_dialog(data.domid_name, botton, 600);
						}
						$(window).unbind('beforeunload');
					}
				});
				$('.espcms_save_cancel').espcms_window_tab('closeTab');
				load_tabclick('.tab_click');
			});
		</script>
	</head>

	<body class="espcms_style_all">
		<div class="main">
			<div class="espcms_center_content_list">

				<div class="panel">
					<div class="panel-body form_bottom_page">
						<form class="form-horizontal admin-form" id="espcms_saveInfo" action="[%$link.argsave%]">
							<input type="hidden" name="token_key" id="token_key" value="[%$token.token_key%]"/>
							<input type="hidden" name="token_name" id="token_name" value="[%$token.token_name%]"/>
							<div class="section-divider mb40"><span>[%pack:order_pack-espcms_order_set_ORDER_title%]</span></div>

							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_ISMEMBER%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="ORDER_ISMEMBER" value="1" [%if $app_read.ORDER_ISMEMBER==1%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_open%]</span>
									<input type="radio" name="ORDER_ISMEMBER" value="0" [%if $app_read.ORDER_ISMEMBER==0%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_disable%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_ISPAYDELI%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="ORDER_ISPAYDELI" value="1" [%if $app_read.ORDER_ISPAYDELI==1%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_open%]</span>
									<input type="radio" name="ORDER_ISPAYDELI" value="0" [%if $app_read.ORDER_ISPAYDELI==0%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_disable%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_ISONLINEPAY%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="ORDER_ISONLINEPAY" value="1" [%if $app_read.ORDER_ISONLINEPAY==1%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_open%]</span>
									<input type="radio" name="ORDER_ISONLINEPAY" value="0" [%if $app_read.ORDER_ISONLINEPAY==0%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_disable%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_ISTRANSFEL%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="ORDER_ISTRANSFEL" value="1" [%if $app_read.ORDER_ISTRANSFEL==1%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_open%]</span>
									<input type="radio" name="ORDER_ISTRANSFEL" value="0" [%if $app_read.ORDER_ISTRANSFEL==0%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_disable%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_ISOPID%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="ORDER_ISOPID" value="1" class="tab_click" open_list=".ORDER_OPID_DIV" [%if $app_read.ORDER_ISOPID==1%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_open%]</span>
									<input type="radio" name="ORDER_ISOPID" value="0" class="tab_click" close_list=".ORDER_OPID_DIV" [%if $app_read.ORDER_ISOPID==0%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_disable%]</span>
								</div>
							</div>
							<div class="form-group ORDER_OPID_DIV [%if $app_read.ORDER_ISOPID==0%]displaynone[%/if%]">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_OPID%]</label>
								<div class="col-sm-4">
									<select class="selectpicker form-control" name="ORDER_OPID" id="ORDER_OPID" data-size="8" link-validation="ORDER_ISOPID" link-gettype="radio" link-getvalue="1"  data-validation="^[\d]+$" title="[%pack:order_pack-espcms_order_osid_title%]" data-validation-msg="[%pack:order_pack-espcms_order_osid_validation_msg%]">
										[%forlist from=$express_list key=i%]
										<option value="[%$express_list[i].osid%]" [%$express_list[i].selected%]>[%$express_list[i].shippingname%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_INVOICE_FEE%]</label>
								<div class="col-sm-9">
									<div class="input-group">
										<input type="text" name="ORDER_INVOICE_FEE" class="form-control" id="ORDER_INVOICE_FEE" value="[%$app_read.ORDER_INVOICE_FEE%]" data-validation="^[\d]+$" placeholder="[%pack:order_pack-espcms_order_set_ORDER_INVOICE_FEE_title%]" title="[%pack:order_pack-espcms_order_set_ORDER_INVOICE_FEE_title%]" data-validation-msg="[%pack:order_pack-espcms_order_set_ORDER_INVOICE_FEE_validation_msg%]" data-display-type="top" data-icon-err="false"/>
										<span class="input-group-addon">%</span>
									</div>

								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_INTEGRAL%]</label>
								<div class="col-sm-9">
									<input type="text" name="ORDER_INTEGRAL" class="form-control" id="ORDER_INTEGRAL" value="[%$app_read.ORDER_INTEGRAL%]" data-validation="^[\d]+$" placeholder="[%pack:order_pack-espcms_order_set_ORDER_INTEGRAL_title%]" title="[%pack:order_pack-espcms_order_set_ORDER_INTEGRAL_title%]" data-validation-msg="[%pack:order_pack-espcms_order_set_ORDER_INTEGRAL_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_SN%]</label>
								<div class="col-sm-9">
									<input type="text" name="ORDER_SN" class="form-control" id="ORDER_SN" value="[%$app_read.ORDER_SN%]" data-validation="^[\w-\[\],]+$" placeholder="[%pack:order_pack-espcms_order_set_ORDER_SN_title%]" title="[%pack:order_pack-espcms_order_set_ORDER_SN_title%]" data-validation-msg="[%pack:order_pack-espcms_order_set_ORDER_SN_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label"></label>
								<div class="col-sm-9">
									<span class="input_exp"> <span class="exp_icon espcms_icon_fa espcms_icon_fa-exclamation-circle" aria-hidden="true"></span>[%pack:order_pack-espcms_order_set_ORDER_SN_str%]</span>
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_ISEMAIL%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="ORDER_ISEMAIL" value="1" [%if $app_read.ORDER_ISEMAIL==1%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_open%]</span>
									<input type="radio" name="ORDER_ISEMAIL" value="0" [%if $app_read.ORDER_ISEMAIL==0%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_disable%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_ISMOBLIE%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="ORDER_ISMOBLIE" value="1" [%if $app_read.ORDER_ISMOBLIE==1%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_open%]</span>
									<input type="radio" name="ORDER_ISMOBLIE" value="0" [%if $app_read.ORDER_ISMOBLIE==0%]checked[%/if%]><span class="pr10">[%pack:public_pack-espcms_lable_disable%]</span>
								</div>
							</div>

							<div class="section-divider mb40"><span>[%pack:order_pack-espcms_order_set_ORDER_title%]</span></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_COMPANY%]</label>
								<div class="col-sm-9">
									<input type="text" name="ORDER_COMPANY" class="form-control" id="ORDER_COMPANY" value="[%$app_read.ORDER_COMPANY%]" data-validation-minlength="5" data-validation-maxlength="80" placeholder="[%pack:order_pack-espcms_order_set_ORDER_COMPANY_title%]" title="[%pack:order_pack-espcms_order_set_ORDER_COMPANY_title%]" data-validation-msg="[%pack:order_pack-espcms_order_set_ORDER_COMPANY_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_ADDRESS%]</label>
								<div class="col-sm-9">
									<input type="text" name="ORDER_ADDRESS" class="form-control" id="ORDER_ADDRESS" value="[%$app_read.ORDER_ADDRESS%]" data-validation-minlength="5" data-validation-maxlength="150" placeholder="[%pack:order_pack-espcms_order_set_ORDER_ADDRESS_title%]" title="[%pack:order_pack-espcms_order_set_ORDER_ADDRESS_title%]" data-validation-msg="[%pack:order_pack-espcms_order_set_ORDER_ADDRESS_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_TEL%]</label>
								<div class="col-sm-9">
									<input type="text" name="ORDER_TEL" class="form-control" id="ORDER_TEL" value="[%$app_read.ORDER_TEL%]" data-validation="^[\w-]+$" placeholder="[%pack:order_pack-espcms_order_set_ORDER_TEL_title%]" title="[%pack:order_pack-espcms_order_set_ORDER_TEL_title%]" data-validation-msg="[%pack:order_pack-espcms_order_set_ORDER_TEL_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:order_pack-espcms_order_set_ORDER_EMAIL%]</label>
								<div class="col-sm-9">
									<input type="text" name="ORDER_EMAIL" class="form-control" id="ORDER_EMAIL" value="[%$app_read.ORDER_EMAIL%]"  data-validation="^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$" placeholder="[%pack:order_pack-espcms_order_set_ORDER_EMAIL_title%]" title="[%pack:order_pack-espcms_order_set_ORDER_EMAIL_title%]" data-validation-msg="[%pack:order_pack-espcms_order_set_ORDER_EMAIL_validation_msg%]"/>
								</div>
							</div>

							<div class="form_button">
								<button type="submit" class="btn btn-green min-w-150" formmethod="POST">[%pack:botton_pack-espcms_botton_save_setting%]</button>
								<button type="button" class="btn btn-lightgray min-w-150 espcms_save_cancel">[%pack:botton_pack-espcms_botton_cacel_setting%]</button>
							</div>
						</form>
					</div>
				</div>

			</div>
		</div>
		[%link file="public/load.html"%]
		[%link file="public/load_height.html"%]
	</body>
</html>
